import httpInstant from '../utils/http';

/**
 * @description 提交举报信息
 * @param  postId 帖子id
 * @param  floor 评论楼层
 * @param  reason 举报原因
 * @param  content 举报内容
 * @returns
 */
export function reportApi({
  commentId,
  reason,
  content,
  pictures,
  userId
}) {
  console.log("reportApi", commentId, reason, content, pictures);


  return httpInstant.post('report/report', {
    commentId,
    reason,
    content,
    pictures,
    userId
  });
}